<%@page import="com.cupdata.zxt.data.DataWrapper"%>
<%@page import="com.cupdata.zxt.data.json.*"%>
<%
	DataWrapper dw = (DataWrapper)request.getAttribute("__DataWrapper");
	String dwJSON = DataWrapper2Json.toJsonString(dw);	
%>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript">
	var result = location.href.match(/[\?\&]locale=([^\&]+)/);
	$zxt.LOCAL = result && result[1] || "cn";
	$zxt.initDW(Json2EiInfo.parseJsonObject( <%=dwJSON%> ));
</script>